Israel Ors' HuffmanAlgorithm Documentation

HuffmanAlgorithm.Shrink Method (Stream, Char[])

Build a frequency table and Huffman tree and shrinking the stream data.

public Stream Shrink(
   Stream Data,
   char[] Password
);

Parameters

Data
The data streem to shrink, it will start shrinking from the position of the given stream as it was given and in the end of the function it's position won't be at the end of the stream and it won't be closed.
Password
A password to add to the archive, to mark as "password less" assign null instead.

Return Value

The archived stream, positioned at start.

Remarks

The given stream must be readable, seekable and it's length must exceed zero.

See Also

HuffmanAlgorithm Class | JadBenAutho.Tools Namespace | HuffmanAlgorithm.Shrink Overload List